package com.zxkj.logistics.service.imp;

import com.zxkj.logistics.mapper.ModuleMapper;
import com.zxkj.logistics.model.Module;
import com.zxkj.logistics.service.ModuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service(value = "moduleService")
public class ModuleServiceImp implements ModuleService {
    @Autowired
    private ModuleMapper moduleMapper;
    @Override
    public List<Module> findUserMenu(String id) {
        return moduleMapper.findValidateModule(id);
    }
}
